<template>
  <view class="login">
    <!-- v-if="!loginError" -->
    <ourLoading
      v-if="!loginError"
      :color="'#429BFF'"
      is-full-screen
      active
      :text="proGress"
    />
    <view v-else class="login-error-content">
      <view>登录失败:</view>
      <view>
        {{ errorMsg }}
      </view>
    </view>
  </view>
</template>

<script type="text/ecmascript-6">
import freeLogin from '@/utils/freeLogin';

export default {
  mixins: [freeLogin]
};
</script>

<style lang="scss" scoped>
.login {
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  .login-error-content {
    color: #F0644E;
    padding: 0 20px;
  }
}
</style>
